package cn.bugstack.domain.activity.service;

//抽奖活动参与服务

import cn.bugstack.domain.activity.model.entity.PartakeRaffleActivityEntity;
import cn.bugstack.domain.activity.model.entity.UserRaffleOrderEntity;

public interface IRaffleActivityPartakeService {
    UserRaffleOrderEntity createOrder(String  userId, Long activityId);
    //创建抽奖单，抽奖单创建成功，库存预扣除成功，返回抽奖单号
    UserRaffleOrderEntity createOrder(PartakeRaffleActivityEntity partakeRaffleActivityEntity);
}
